package com.xes.online.service;

import org.springframework.messaging.Message;
import org.springframework.messaging.MessageChannel;

/**
 * @program: springcloud
 * @description:
 * @author: pkn
 * @create: 2020-06-28 10:09
 */

public interface TalSendService {

    Message send(String destination, String payload);

    Message sendWithTag(String destination, String payload, String tag);

    <T> Message sendObject(String destination, T msg);

}
